



import sys, os
from docx import Document


# print(os.path.abspath(os.curdir))
# print(os.walk(r'G:\school\20190304升旗'))
# print([i for i in os.walk(r'G:\school\20190304升旗')])

# document = Document()

document = Document(r'C:\Users\Administrator\Desktop\一堂思政课.docx')
# print(document.styles.)
# print(document.paragraphs[2].runs[0].styles)
# for i in document.paragraphs:
#
#     print('-'*100)
#     # print(i.text)
#     print([t.text for t in i.runs])
for i in document.paragraphs[2].runs:
    print(i.text,sep='\\n\\n')

